package org.ii.api;

import javax.ws.rs.Path;
import javax.ws.rs.GET;
import javax.ws.rs.PathParam;

import org.ii.domain.helloworld.HelloWorld;


/**
 * The hello world service interface exposed as soap and rest
 *
 * @ WebService is for soap
 * @ Path is for the rest top path
 */

@Path("/helloNameService/{name}")
public interface HelloNameService {
	/**
	 * Simple methods that says hello name
	 *
	 * @return hello name rest and soap!!!
	 * @ GET is for REST
	 * @ Path is for the REST service path
	 */
	@GET
	@Path("/")
	HelloWorld sayHello(@PathParam("name") final String name);
}
